package com.szxy.cart.feigin;

import com.szxy.pojo.TbItem;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Auther:zwer
 * @Date:2019/9/12 10:25
 * @Description:com.szxy.cart.feigin
 * @Version:1.0
 **/
@FeignClient("common-items")
public interface CommonItemsFeignClient {

    @PostMapping("/service/item/findItemById")
    public TbItem findItemById(@RequestParam("itemId") Long itemId);

}
